package io.zhoujie.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.google.gson.JsonObject;
import io.zhoujie.common.utils.PageUtils;
import io.zhoujie.modules.admin.entity.ActiveEntity;
import io.zhoujie.modules.app.entity.AppActiveEntity;

import java.util.List;
import java.util.Map;


public interface AppActiveService extends IService<AppActiveEntity> {
    List<AppActiveEntity> queryByStatus(Integer status);

    int insertActiveByUid(Integer userId, Integer activeId);

    Map<Object, Object> selectActiveInfo(Integer userId, Integer activeId);

    List<AppActiveEntity> selectUserActive(Integer userId);

    int deletePartActive(Integer userId, Integer activeId);
}
